<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('人员姓名')}:</label>
        <div class="col-xs-12 col-sm-8">
          <input id="c-pt_person_id" data-rule="required" disabled data-field="user_name" data-source="pt/person/index" class="form-control selectpage" name="row[pt_person_id]" type="text" value="{$row.pt_person_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('开始日期')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_date" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-date-use-current="true" name="row[start_date]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('结束日期')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_date" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-date-use-current="true" name="row[end_date]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('岗位选择')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline" data-toggle="cxselect" data-selects="first,second">
                <select style="width:240px;" data-rule="required" class="first form-control" name="row[pt_depart_id]" data-url="pt/job/ajaxJob"></select>
                <select style="width:240px;" data-rule="required" class="second form-control" name="row[pt_job_id]" data-url="pt/job/ajaxJob" data-query-name="departId"></select>
            </div>
            <!--<input id="c-pt_depart_id" data-rule="required" data-source="pt/depart/index" class="form-control selectpage" name="row[pt_depart_id]" type="text" value="">-->
        </div>
    </div>
    <!--
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pt_job_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pt_job_id" data-rule="required" data-source="pt/job/index" class="form-control selectpage" name="row[pt_job_id]" type="text" value="">
        </div>
    </div>
    -->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
